﻿
namespace GameEngine
{
    /// <remarks>
    ///     Simplifies creating bitmaps with integer dimensions instead of double.
    /// </remarks>
    public class IntSize
    {

        /// <summary>
        ///     x dimension of size-width
        /// </summary>
        public int Width;
        /// <summary>
        ///     y dimension of size-height
        /// </summary>
        public int Height;


        /// <summary>
        ///     Constructor with 2 parametres initializes height and width.
        /// </summary>
        /// <param name="Width">x dimension of size-width</param>
        /// <param name="Height">y dimension of size-height</param>
        public IntSize(int width, int height)
        {
            this.Width = width;
            this.Height = height;
        }


        /// <summary>
        ///     Constructor creates new object with 0 as default value for height and width.
        /// </summary>
        public IntSize(): this(0, 0)
        {
        }


    }
}
